import request from '@/utils/request'
export const queryPageA = '/icps/system/sign/cloudSell/salesLeads/queryPage'
export const queryPageB = '/icps/system/sign/cloudSell/salesLeads/queryPage'

/*忽略销售*/
export function ignore(data) {
  return request({
    url: '/icps/system/sign/cloudSell/salesLeads/ignore',
    method: 'post',
    data
  })
}
/*跟进记录列表*/
export function getsaleProgress(data) {
  return request({
    url: '/icps/system/sign/cloudSell/saleProgress/getSalesProgressList',
    method: 'post',
    data
  })
}
export function savesaleProgress(data) {
  return request({
    url: '/icps/system/sign/cloudSell/saleProgress/saveOrUpdate',
    method: 'post',
    data
  })
}
export function assignOrRedeploy(data) {
  return request({
    url: '/icps/system/sign/cloudSell/salesLeads/assignOrRedeploy',
    method: 'post',
    data
  })
}
/*新增工程*/
export function saveengineeringManagement(data) {
  return request({
    url: '/icps/system/sign/cloudSell/engineeringManagement/saveOrUpdate',
    method: 'post',
    data
  })
}
/*查看工程详情*/
export function QueryOneByid(data) {
  return request({
    url: '/icps/system/sign/cloudSell/engineeringManagement/QueryOneByid',
    method: 'post',
    data
  })
}
/*客户列表*/
export function queryAllByCompanyId(data) {
  return request({
    url: '/icps/system/sign/cloudsell/custommanage/queryAllByCompanyId',
    method: 'post',
    data
  })
}
/*催办*/
export function press_to_do(data) {
  return request({
    url: '/icps/system/sign/cloudSell/salesLeads/press_to_do',
    method: 'post',
    data
  })
}
/*添加机会*/
export function salesLeadssave(data) {
  return request({
    url: '/icps/system/sign/cloudSell/salesLeads/save',
    method: 'post',
    data
  })
}